import type * as UiKit from '@rocket.chat/ui-kit';

export const contextWithPlainText: readonly UiKit.LayoutBlock[] = [
	{
		type: 'context',
		elements: [
			{
				type: 'plain_text',
				text: 'Author: K A Applegate',
				emoji: true,
			},
		],
	},
] as const;

export const contextWithMrkdwn: readonly UiKit.LayoutBlock[] = [
	{
		type: 'context',
		elements: [
			{
				type: 'image',
				imageUrl:
					'',
				altText: 'cute cat',
			},
			{
				type: 'mrkdwn',
				text: '*Cat* has approved this message.',
			},
		],
	},
] as const;

export const contextWithTextAndImages: readonly UiKit.LayoutBlock[] = [
	{
		type: 'context',
		elements: [
			{
				type: 'mrkdwn',
				text: '*This* is :smile: markdown',
			},
			{
				type: 'image',
				imageUrl:
					'',
				altText: 'cute cat',
			},
			{
				type: 'image',
				imageUrl:
					'',
				altText: 'cute cat',
			},
			{
				type: 'image',
				imageUrl:
					'',
				altText: 'cute cat',
			},
			{
				type: 'plain_text',
				text: 'Author: K A Applegate',
				emoji: true,
			},
		],
	},
] as const;
